import Vue from 'vue';
import VueRouter from "vue-router";
const Home = () => import('views/home/Home');

Vue.use(VueRouter);

const routers = [
  {
    path: '/home',
    component: Home
  },
  {
    path: '/',
    redirect: '/home'
  }
];

export default new VueRouter({
  routes: routers,
  mode: 'history'
});